package tmpl

// GoStructTmpl Go语言中结构体模板
const GoStructTmpl = `type {{Underline2BigCamelCase .TableName}} struct {
{{range .TableFields}}{{if .FieldComment}}	// {{.FieldComment}} {{end}}
	{{Underline2BigCamelCase .FieldName}} {{GetGoType .FieldType}} ` + "`" + `json:"{{.FieldName}},omitempty"` + "`\n" +
	`{{end}}
}
`
